package com.xiuxian.model.dto;

import com.xiuxian.model.Comment;
import com.xiuxian.model.User;
import com.xiuxian.model.Video;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class VideoDTO {

    //resulttype的形式
//    private Integer id;
//    private String title;
//    private String content;
//    private Integer userId;
//
//    private Integer uid;
//    private String username;
//    private String password;
//    private Date birthday;
//    private Integer power;


    //resultMap形式
    private User user;

    private Video video;

    private List<Comment>  commentList;

}
